package com.handycraftz.site.client.entrypoint;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.event.shared.HandlerManager;
import com.google.gwt.user.client.ui.RootPanel;
import com.handycraftz.site.client.presenter.AppPresenter;
import com.handycraftz.site.client.presenter.LayoutPresenter;

public class HomeEntry implements EntryPoint {

	/*
	 * This Method is called when the application is loaded in the Browser. This
	 * is the Entry point to the Application. For any startup initialization in
	 * the application provide the required here.
	 */

	@Override
	public void onModuleLoad() {
		/*
		 * Creating Application Presenter, which in turn controls the flow of
		 * the entire application.
		 */
		AppPresenter appPresenter = new AppPresenter(new HandlerManager(null));
		// Passing the Root Container Instance where we can add all Widgets we
		// create
		
		appPresenter.go(RootPanel.get());
		
	}

}
